import request from "./request.js";

export const userLoginByCode = (data) => {
  return request({
    url: `/app-api/member/auth/social-login`,
    method: "POST",
    data,
    isLogin:true,
  });
};
export const weixinMiniAppLogin = (data) => {
  return request({
    url: `/app-api/member/auth/weixin-mini-app-login`,
    method: "POST",
    data,
    isLogin:true,
  });
};
export const getUser = (data) => {
  return request({
    url: `/app-api/member/user/get`,
    method: "GET",
    data,
    isLogin:true,
  });
};
